package org.xteam.sled.tree;

import java.util.List;

import org.xteam.sled.model.AbsoluteField;
import org.xteam.sled.tree.TreeBuilder.SplitResult;

public class BranchFactorHeuristic extends Heuristic {

	public BranchFactorHeuristic() {
		super("branchfactor");
	}

	@Override
	public int run(TreeBuilder treeBuilder, List<SplitResult> children,
			AbsoluteField f) {
		return -children.size();
	}

}
